//
//  UserModel.swift
//  ArchitectGenerics
//
//  Created by 姚胜龙 on 2017/6/13.
//  Copyright © 2017年 姚胜龙. All rights reserved.
//

import UIKit

//具体的实现类
class UserCopyModel: ShallowCopyProtocal {

    var name:String?
    var sex:String?

    init(name:String,sex:String) {
        self.name = name
        self.sex = sex
    }

    func clone() -> AnyObject? {
        return UserCopyModel(name:self.name!, sex:self.sex!)
    }
}
